import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import "./permission"
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 正确写法
import 'element-plus/dist/index.css'
const app = createApp(App)
for(const [key,component] of Object.entries(ElementPlusIconsVue)){
    app.component(key,component)
}
app.use(ElementPlus)
app.use(router)
app.use(store)
import 'virtual:windi.css'
app.mount("#app")
// createApp(App).mount('#app')
